final class TaxInvoiceClient extends AbstractClient (View source)

B2B 세금계산서 API 작업을 제공합니다.

Properties

protected RequestExecutor $executor from  AbstractClient

Methods

__construct(string $apiSecret, RequestExecutor|null $executor = null)

PortOne API Secret과 선택적으로 전달된 공용 요청 실행기로 클라이언트를 초기화합니다.

array
__debugInfo()

인증 정보가 디버그 출력에 노출되지 않도록 빈 정보를 반환합니다.

array
__serialize()

인증 정보가 직렬화되어 노출되지 않도록 직렬화를 거부합니다.

void
__unserialize(array $data)

인증 정보가 포함된 객체의 역직렬화를 거부합니다.

createExecutor(string $apiSecret)

No description

object
callOperation(string $operation, string $method, string $path, array $parameters, string $responseClass, bool $requestBody)

No description

callOperationAsync(string $operation, string $method, string $path, array $parameters, string $responseClass, bool $requestBody)

No description

object
callOperationWithQueryAndBody(string $operation, string $method, string $path, array $query, array $body, string $responseClass)

No description

callOperationWithQueryAndBodyAsync(string $operation, string $method, string $path, array $query, array $body, string $responseClass)

No description

object
callOperationWithQueryRequestBody(string $operation, string $method, string $path, array $query, array $body, string $responseClass)

No description

callOperationWithQueryRequestBodyAsync(string $operation, string $method, string $path, array $query, array $body, string $responseClass)

No description

string
callStringOperation(string $operation, string $method, string $path, array $options = [])

No description

callStringOperationAsync(string $operation, string $method, string $path, array $options = [])

No description

string
callStringOperationWithQueryRequestBody(string $operation, string $method, string $path, array $query, array $body)

No description

callStringOperationWithQueryRequestBodyAsync(string $operation, string $method, string $path, array $query, array $body)

No description

void
callUnitOperation(string $operation, string $method, string $path, array $options = [])

No description

callUnitOperationAsync(string $operation, string $method, string $path, array $options = [])

No description

void
callUnitOperationWithQueryAndBody(string $operation, string $method, string $path, array $query, array $body)

No description

callUnitOperationWithQueryAndBodyAsync(string $operation, string $method, string $path, array $query, array $body)

No description

void
callUnitOperationWithQuery(string $operation, string $method, string $path, array $query)

No description

callUnitOperationWithQueryAsync(string $operation, string $method, string $path, array $query)

No description

void
attachB2bTaxInvoiceFile(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $fileId = null)

세금계산서 파일 첨부 기능입니다.

attachB2bTaxInvoiceFileAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $fileId = null)

세금계산서 파일 첨부 기능입니다.

cancelB2bTaxInvoiceIssuance(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)

세금계산서 취소 (공급자에 의한 취소) 기능입니다.

cancelB2bTaxInvoiceIssuanceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)

세금계산서 취소 (공급자에 의한 취소) 기능입니다.

cancelB2bTaxInvoiceRequest(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)

세금계산서 역발행 요청 취소 (공급받는자에 의한 취소) 기능입니다.

cancelB2bTaxInvoiceRequestAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)

세금계산서 역발행 요청 취소 (공급받는자에 의한 취소) 기능입니다.

createB2bFileUploadUrl(bool|null $test = null, string|null $fileName = null)

파일 업로드 URL 생성 기능입니다.

createB2bFileUploadUrlAsync(bool|null $test = null, string|null $fileName = null)

파일 업로드 URL 생성 기능입니다.

deleteB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 삭제 기능입니다.

deleteB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 삭제 기능입니다.

void
deleteB2bTaxInvoiceAttachment(string|null $taxInvoiceKey = null, string|null $attachmentId = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 첨부파일 삭제 기능입니다.

deleteB2bTaxInvoiceAttachmentAsync(string|null $taxInvoiceKey = null, string|null $attachmentId = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 첨부파일 삭제 기능입니다.

string
downloadB2bTaxInvoicesSheet(array|null $filter = null, array|null $fields = null, bool|null $test = null, array|null $sort = null)

세금계산서 엑셀 파일(csv) 다운로드 기능입니다.

downloadB2bTaxInvoicesSheetAsync(array|null $filter = null, array|null $fields = null, bool|null $test = null, array|null $sort = null)

세금계산서 엑셀 파일(csv) 다운로드 기능입니다.

draftB2bTaxInvoice(bool|null $test = null, array|null $taxInvoice = null, array|null $modification = null, string|null $memo = null, bool|null $createRecipientCounterparty = null)

세금계산서 임시 저장 기능입니다.

draftB2bTaxInvoiceAsync(bool|null $test = null, array|null $taxInvoice = null, array|null $modification = null, string|null $memo = null, bool|null $createRecipientCounterparty = null)

세금계산서 임시 저장 기능입니다.

getB2bBulkTaxInvoice(string|null $bulkTaxInvoiceId = null, bool|null $test = null)

일괄 세금계산서 조회 기능입니다.

getB2bBulkTaxInvoiceAsync(string|null $bulkTaxInvoiceId = null, bool|null $test = null)

일괄 세금계산서 조회 기능입니다.

getB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금 계산서 조회 기능입니다.

getB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금 계산서 조회 기능입니다.

getB2bTaxInvoiceAttachments(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 첨부파일 목록 조회 기능입니다.

getB2bTaxInvoiceAttachmentsAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 첨부파일 목록 조회 기능입니다.

getB2bTaxInvoicePdfDownloadUrl(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금 계산서 PDF 다운로드 URL 조회 기능입니다.

getB2bTaxInvoicePdfDownloadUrlAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금 계산서 PDF 다운로드 URL 조회 기능입니다.

getB2bTaxInvoicePopupUrl(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $includeMenu = null, bool|null $test = null)

세금 계산서 팝업 URL 조회 기능입니다.

getB2bTaxInvoicePopupUrlAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $includeMenu = null, bool|null $test = null)

세금 계산서 팝업 URL 조회 기능입니다.

getB2bTaxInvoicePrintUrl(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금 계산서 프린트 URL 조회 기능입니다.

getB2bTaxInvoicePrintUrlAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금 계산서 프린트 URL 조회 기능입니다.

getB2bTaxInvoices(bool|null $test = null, int|null $pageNumber = null, int|null $pageSize = null, array|null $filter = null, array|null $sort = null)

세금 계산서 다건조회 기능입니다.

getB2bTaxInvoicesAsync(bool|null $test = null, int|null $pageNumber = null, int|null $pageSize = null, array|null $filter = null, array|null $sort = null)

세금 계산서 다건조회 기능입니다.

issueB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null, string|null $emailSubject = null)

세금계산서 발행 승인 기능입니다.

issueB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null, string|null $emailSubject = null)

세금계산서 발행 승인 기능입니다.

issueB2bTaxInvoiceImmediately(bool|null $test = null, array|null $taxInvoice = null, string|null $memo = null, array|null $modification = null, bool|null $createRecipientCounterparty = null)

세금계산서 즉시 정발행 기능입니다.

issueB2bTaxInvoiceImmediatelyAsync(bool|null $test = null, array|null $taxInvoice = null, string|null $memo = null, array|null $modification = null, bool|null $createRecipientCounterparty = null)

세금계산서 즉시 정발행 기능입니다.

refuseB2bTaxInvoiceRequest(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)

세금계산서 역발행 요청 거부 기능입니다.

refuseB2bTaxInvoiceRequestAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)

세금계산서 역발행 요청 거부 기능입니다.

requestB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 역발행 요청 기능입니다.

requestB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 역발행 요청 기능입니다.

requestB2bTaxInvoiceReverseIssuance(bool|null $test = null, array|null $taxInvoice = null, string|null $memo = null, array|null $modification = null)

세금계산서 역발행 즉시 요청 기능입니다.

requestB2bTaxInvoiceReverseIssuanceAsync(bool|null $test = null, array|null $taxInvoice = null, string|null $memo = null, array|null $modification = null)

세금계산서 역발행 즉시 요청 기능입니다.

sendToNtsB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 국세청 즉시 전송 기능입니다.

sendToNtsB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 국세청 즉시 전송 기능입니다.

updateB2bTaxInvoiceDraft(bool|null $test = null, string|null $brn = null, string|null $taxInvoiceKey = null, string|null $taxInvoiceKeyType = null, array|null $taxInvoice = null, string|null $memo = null)

세금계산서 임시저장 수정 기능입니다.

updateB2bTaxInvoiceDraftAsync(bool|null $test = null, string|null $brn = null, string|null $taxInvoiceKey = null, string|null $taxInvoiceKeyType = null, array|null $taxInvoice = null, string|null $memo = null)

세금계산서 임시저장 수정 기능입니다.

Details

__construct(string $apiSecret, RequestExecutor|null $executor = null)

PortOne API Secret과 선택적으로 전달된 공용 요청 실행기로 클라이언트를 초기화합니다.

Parameters

string $apiSecret

PortOne V2 API 요청 인증에 사용하는 API Secret입니다.

RequestExecutor|null $executor

부모 클라이언트와 공유하는 요청 실행기입니다.

array __debugInfo()

인증 정보가 디버그 출력에 노출되지 않도록 빈 정보를 반환합니다.

Return Value

array

array __serialize()

인증 정보가 직렬화되어 노출되지 않도록 직렬화를 거부합니다.

Return Value

array

void __unserialize(array $data)

인증 정보가 포함된 객체의 역직렬화를 거부합니다.

Parameters

array $data

Return Value

void

protected RequestExecutor createExecutor(string $apiSecret)

No description

Parameters

string $apiSecret

Return Value

RequestExecutor

protected object callOperation(string $operation, string $method, string $path, array $parameters, string $responseClass, bool $requestBody)

No description

Parameters

string $operation
string $method
string $path
array $parameters
string $responseClass
bool $requestBody

Return Value

object

protected Future callOperationAsync(string $operation, string $method, string $path, array $parameters, string $responseClass, bool $requestBody)

No description

Parameters

string $operation
string $method
string $path
array $parameters
string $responseClass
bool $requestBody

Return Value

Future

protected object callOperationWithQueryAndBody(string $operation, string $method, string $path, array $query, array $body, string $responseClass)

No description

Parameters

string $operation
string $method
string $path
array $query
array $body
string $responseClass

Return Value

object

protected Future callOperationWithQueryAndBodyAsync(string $operation, string $method, string $path, array $query, array $body, string $responseClass)

No description

Parameters

string $operation
string $method
string $path
array $query
array $body
string $responseClass

Return Value

Future

protected object callOperationWithQueryRequestBody(string $operation, string $method, string $path, array $query, array $body, string $responseClass)

No description

Parameters

string $operation
string $method
string $path
array $query
array $body
string $responseClass

Return Value

object

protected Future callOperationWithQueryRequestBodyAsync(string $operation, string $method, string $path, array $query, array $body, string $responseClass)

No description

Parameters

string $operation
string $method
string $path
array $query
array $body
string $responseClass

Return Value

Future

protected string callStringOperation(string $operation, string $method, string $path, array $options = [])

No description

Parameters

string $operation
string $method
string $path
array $options

Return Value

string

protected Future callStringOperationAsync(string $operation, string $method, string $path, array $options = [])

No description

Parameters

string $operation
string $method
string $path
array $options

Return Value

Future

protected string callStringOperationWithQueryRequestBody(string $operation, string $method, string $path, array $query, array $body)

No description

Parameters

string $operation
string $method
string $path
array $query
array $body

Return Value

string

protected Future callStringOperationWithQueryRequestBodyAsync(string $operation, string $method, string $path, array $query, array $body)

No description

Parameters

string $operation
string $method
string $path
array $query
array $body

Return Value

Future

protected void callUnitOperation(string $operation, string $method, string $path, array $options = [])

No description

Parameters

string $operation
string $method
string $path
array $options

Return Value

void

protected Future callUnitOperationAsync(string $operation, string $method, string $path, array $options = [])

No description

Parameters

string $operation
string $method
string $path
array $options

Return Value

Future

protected void callUnitOperationWithQueryAndBody(string $operation, string $method, string $path, array $query, array $body)

No description

Parameters

string $operation
string $method
string $path
array $query
array $body

Return Value

void

protected Future callUnitOperationWithQueryAndBodyAsync(string $operation, string $method, string $path, array $query, array $body)

No description

Parameters

string $operation
string $method
string $path
array $query
array $body

Return Value

Future

protected void callUnitOperationWithQuery(string $operation, string $method, string $path, array $query)

No description

Parameters

string $operation
string $method
string $path
array $query

Return Value

void

protected Future callUnitOperationWithQueryAsync(string $operation, string $method, string $path, array $query)

No description

Parameters

string $operation
string $method
string $path
array $query

Return Value

Future

void attachB2bTaxInvoiceFile(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $fileId = null)

세금계산서 파일 첨부 기능입니다.

세금계산서에 파일을 첨부합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $fileId

파일 아이디

Return Value

void

Future attachB2bTaxInvoiceFileAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $fileId = null)

세금계산서 파일 첨부 기능입니다.

세금계산서에 파일을 첨부합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $fileId

파일 아이디

Return Value

Future

CancelB2bTaxInvoiceIssuanceResponse cancelB2bTaxInvoiceIssuance(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)

세금계산서 취소 (공급자에 의한 취소) 기능입니다.

발행 완료된 세금계산서를 공급자가 국세청 전송 전에 취소합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $memo 메모

Return Value

CancelB2bTaxInvoiceIssuanceResponse

Future cancelB2bTaxInvoiceIssuanceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)

세금계산서 취소 (공급자에 의한 취소) 기능입니다.

발행 완료된 세금계산서를 공급자가 국세청 전송 전에 취소합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $memo 메모

Return Value

Future

CancelB2bTaxInvoiceRequestResponse cancelB2bTaxInvoiceRequest(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)

세금계산서 역발행 요청 취소 (공급받는자에 의한 취소) 기능입니다.

공급자가 세금계산서 발행을 승인하기 전에 공급받는자가 해당 역발행 요청을 취소합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $memo 메모

Return Value

CancelB2bTaxInvoiceRequestResponse

Future cancelB2bTaxInvoiceRequestAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)

세금계산서 역발행 요청 취소 (공급받는자에 의한 취소) 기능입니다.

공급자가 세금계산서 발행을 승인하기 전에 공급받는자가 해당 역발행 요청을 취소합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $memo 메모

Return Value

Future

CreateB2bFileUploadUrlPayload createB2bFileUploadUrl(bool|null $test = null, string|null $fileName = null)

파일 업로드 URL 생성 기능입니다.

S3 파일 업로드를 위한 URL을 생성합니다.

Parameters

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $fileName

파일 이름

Return Value

CreateB2bFileUploadUrlPayload

Future createB2bFileUploadUrlAsync(bool|null $test = null, string|null $fileName = null)

파일 업로드 URL 생성 기능입니다.

S3 파일 업로드를 위한 URL을 생성합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $fileName

파일 이름

Return Value

Future

DeleteB2bTaxInvoiceResponse deleteB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 삭제 기능입니다.

세금계산서를 삭제합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

DeleteB2bTaxInvoiceResponse

Future deleteB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 삭제 기능입니다.

세금계산서를 삭제합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

Future

void deleteB2bTaxInvoiceAttachment(string|null $taxInvoiceKey = null, string|null $attachmentId = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 첨부파일 삭제 기능입니다.

세금계산서 첨부파일을 삭제합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $attachmentId

첨부파일 아이디

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

void

Future deleteB2bTaxInvoiceAttachmentAsync(string|null $taxInvoiceKey = null, string|null $attachmentId = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 첨부파일 삭제 기능입니다.

세금계산서 첨부파일을 삭제합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $attachmentId

첨부파일 아이디

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

Future

string downloadB2bTaxInvoicesSheet(array|null $filter = null, array|null $fields = null, bool|null $test = null, array|null $sort = null)

세금계산서 엑셀 파일(csv) 다운로드 기능입니다.

세금계산서를 엑셀 파일(csv)로 다운로드합니다.

Parameters

array|null $filter

세금계산서 다건 조회 필터

array|null $fields

다운로드 할 시트 컬럼

bool|null $test

테스트 모드 여부. true이면 테스트 모드로 실행되며, false이거나 주어지지 않으면 테스트 모드를 사용하지 않습니다.

array|null $sort

세금계산서 다건 조회 시 정렬 조건: 미입력 시 상태 업데이트 일시 내림차순 정렬됩니다.

Return Value

string

Future downloadB2bTaxInvoicesSheetAsync(array|null $filter = null, array|null $fields = null, bool|null $test = null, array|null $sort = null)

세금계산서 엑셀 파일(csv) 다운로드 기능입니다.

세금계산서를 엑셀 파일(csv)로 다운로드합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

array|null $filter

세금계산서 다건 조회 필터

array|null $fields

다운로드 할 시트 컬럼

bool|null $test

테스트 모드 여부. true이면 테스트 모드로 실행되며, false이거나 주어지지 않으면 테스트 모드를 사용하지 않습니다.

array|null $sort

세금계산서 다건 조회 시 정렬 조건: 미입력 시 상태 업데이트 일시 내림차순 정렬됩니다.

Return Value

Future

DraftB2bTaxInvoiceResponse draftB2bTaxInvoice(bool|null $test = null, array|null $taxInvoice = null, array|null $modification = null, string|null $memo = null, bool|null $createRecipientCounterparty = null)

세금계산서 임시 저장 기능입니다.

세금계산서 임시 저장을 요청합니다.

Parameters

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

array|null $taxInvoice

세금계산서 생성 요청 정보

array|null $modification

수정 세금계산서 생성 입력 정보

string|null $memo 메모
bool|null $createRecipientCounterparty

공급받는자 거래처 생성 여부: true인 경우 공급받는자 정보로 거래처를 자동 생성합니다.

Return Value

DraftB2bTaxInvoiceResponse

Future draftB2bTaxInvoiceAsync(bool|null $test = null, array|null $taxInvoice = null, array|null $modification = null, string|null $memo = null, bool|null $createRecipientCounterparty = null)

세금계산서 임시 저장 기능입니다.

세금계산서 임시 저장을 요청합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

array|null $taxInvoice

세금계산서 생성 요청 정보

array|null $modification

수정 세금계산서 생성 입력 정보

string|null $memo 메모
bool|null $createRecipientCounterparty

공급받는자 거래처 생성 여부: true인 경우 공급받는자 정보로 거래처를 자동 생성합니다.

Return Value

Future

B2bBulkTaxInvoice getB2bBulkTaxInvoice(string|null $bulkTaxInvoiceId = null, bool|null $test = null)

일괄 세금계산서 조회 기능입니다.

등록된 일괄 세금계산서를 일괄 세금계산서 아이디로 조회합니다.

Parameters

string|null $bulkTaxInvoiceId

일괄 세금계산서 아이디

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

B2bBulkTaxInvoice

Future getB2bBulkTaxInvoiceAsync(string|null $bulkTaxInvoiceId = null, bool|null $test = null)

일괄 세금계산서 조회 기능입니다.

등록된 일괄 세금계산서를 일괄 세금계산서 아이디로 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $bulkTaxInvoiceId

일괄 세금계산서 아이디

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

Future

B2bTaxInvoice getB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금 계산서 조회 기능입니다.

등록된 세금 계산서를 세금계산서 아이디로 조회합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

B2bTaxInvoice

Future getB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금 계산서 조회 기능입니다.

등록된 세금 계산서를 세금계산서 아이디로 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

Future

GetB2bTaxInvoiceAttachmentsResponse getB2bTaxInvoiceAttachments(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 첨부파일 목록 조회 기능입니다.

세금계산서에 첨부된 파일 목록을 조회합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

GetB2bTaxInvoiceAttachmentsResponse

Future getB2bTaxInvoiceAttachmentsAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 첨부파일 목록 조회 기능입니다.

세금계산서에 첨부된 파일 목록을 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

Future

GetB2bTaxInvoicePdfDownloadUrlResponse getB2bTaxInvoicePdfDownloadUrl(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금 계산서 PDF 다운로드 URL 조회 기능입니다.

등록된 세금 계산서 PDF 다운로드 URL을 공급자 혹은 공급받는자 문서번호로 조회합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

GetB2bTaxInvoicePdfDownloadUrlResponse

Future getB2bTaxInvoicePdfDownloadUrlAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금 계산서 PDF 다운로드 URL 조회 기능입니다.

등록된 세금 계산서 PDF 다운로드 URL을 공급자 혹은 공급받는자 문서번호로 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

Future

GetB2bTaxInvoicePopupUrlResponse getB2bTaxInvoicePopupUrl(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $includeMenu = null, bool|null $test = null)

세금 계산서 팝업 URL 조회 기능입니다.

등록된 세금 계산서 팝업 URL을 공급자 혹은 공급받는자 문서번호로 조회합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $includeMenu

메뉴 포함 여부: 팝업 URL에 메뉴 레이아웃을 포함 여부를 결정합니다. 기본 값은 true입니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

GetB2bTaxInvoicePopupUrlResponse

Future getB2bTaxInvoicePopupUrlAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $includeMenu = null, bool|null $test = null)

세금 계산서 팝업 URL 조회 기능입니다.

등록된 세금 계산서 팝업 URL을 공급자 혹은 공급받는자 문서번호로 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $includeMenu

메뉴 포함 여부: 팝업 URL에 메뉴 레이아웃을 포함 여부를 결정합니다. 기본 값은 true입니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

Future

GetB2bTaxInvoicePrintUrlResponse getB2bTaxInvoicePrintUrl(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금 계산서 프린트 URL 조회 기능입니다.

등록된 세금 계산서 프린트 URL을 공급자 혹은 공급받는자 문서번호로 조회합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

GetB2bTaxInvoicePrintUrlResponse

Future getB2bTaxInvoicePrintUrlAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금 계산서 프린트 URL 조회 기능입니다.

등록된 세금 계산서 프린트 URL을 공급자 혹은 공급받는자 문서번호로 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

Future

GetB2bTaxInvoicesResponse getB2bTaxInvoices(bool|null $test = null, int|null $pageNumber = null, int|null $pageSize = null, array|null $filter = null, array|null $sort = null)

세금 계산서 다건조회 기능입니다.

조회 기간 내 등록된 세금 계산서를 다건 조회합니다.

Parameters

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

int|null $pageNumber

0부터 시작하는 페이지 번호. 기본 값은 0.

int|null $pageSize

페이지 크기: 각 페이지 당 포함할 객체 수. 기본 값은 500이며 최대 1000까지 요청가능합니다.

array|null $filter

세금계산서 다건 조회 필터

array|null $sort

세금계산서 다건 조회 시 정렬 조건: 미입력 시 상태 업데이트 일시 내림차순 정렬됩니다.

Return Value

GetB2bTaxInvoicesResponse

Future getB2bTaxInvoicesAsync(bool|null $test = null, int|null $pageNumber = null, int|null $pageSize = null, array|null $filter = null, array|null $sort = null)

세금 계산서 다건조회 기능입니다.

조회 기간 내 등록된 세금 계산서를 다건 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

int|null $pageNumber

0부터 시작하는 페이지 번호. 기본 값은 0.

int|null $pageSize

페이지 크기: 각 페이지 당 포함할 객체 수. 기본 값은 500이며 최대 1000까지 요청가능합니다.

array|null $filter

세금계산서 다건 조회 필터

array|null $sort

세금계산서 다건 조회 시 정렬 조건: 미입력 시 상태 업데이트 일시 내림차순 정렬됩니다.

Return Value

Future

IssueB2bTaxInvoiceResponse issueB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null, string|null $emailSubject = null)

세금계산서 발행 승인 기능입니다.

역발행의 경우 역발행요청(REQUESTED) 상태, 정발행의 경우 임시저장(DRAFTED) 상태의 세금계산서에 대해 발행을 승인합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $memo 메모
string|null $emailSubject

이메일 제목

Return Value

IssueB2bTaxInvoiceResponse

Future issueB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null, string|null $emailSubject = null)

세금계산서 발행 승인 기능입니다.

역발행의 경우 역발행요청(REQUESTED) 상태, 정발행의 경우 임시저장(DRAFTED) 상태의 세금계산서에 대해 발행을 승인합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $memo 메모
string|null $emailSubject

이메일 제목

Return Value

Future

IssueB2bTaxInvoiceImmediatelyResponse issueB2bTaxInvoiceImmediately(bool|null $test = null, array|null $taxInvoice = null, string|null $memo = null, array|null $modification = null, bool|null $createRecipientCounterparty = null)

세금계산서 즉시 정발행 기능입니다.

세금계산서를 즉시 정발행합니다. 임시저장 API와 정발행 API 기능을 한 번의 프로세스로 처리합니다.

Parameters

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

array|null $taxInvoice

세금계산서 생성 요청 정보

string|null $memo 메모
array|null $modification

수정 세금계산서 생성 입력 정보

bool|null $createRecipientCounterparty

공급받는자 거래처 생성 여부: true인 경우 공급받는자 정보로 거래처를 자동 생성합니다.

Return Value

IssueB2bTaxInvoiceImmediatelyResponse

Future issueB2bTaxInvoiceImmediatelyAsync(bool|null $test = null, array|null $taxInvoice = null, string|null $memo = null, array|null $modification = null, bool|null $createRecipientCounterparty = null)

세금계산서 즉시 정발행 기능입니다.

세금계산서를 즉시 정발행합니다. 임시저장 API와 정발행 API 기능을 한 번의 프로세스로 처리합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

array|null $taxInvoice

세금계산서 생성 요청 정보

string|null $memo 메모
array|null $modification

수정 세금계산서 생성 입력 정보

bool|null $createRecipientCounterparty

공급받는자 거래처 생성 여부: true인 경우 공급받는자 정보로 거래처를 자동 생성합니다.

Return Value

Future

RefuseB2bTaxInvoiceRequestResponse refuseB2bTaxInvoiceRequest(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)

세금계산서 역발행 요청 거부 기능입니다.

공급자가 공급받는자로부터 요청받은 세금계산서 역발행 건을 거부합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $memo 메모

Return Value

RefuseB2bTaxInvoiceRequestResponse

Future refuseB2bTaxInvoiceRequestAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)

세금계산서 역발행 요청 거부 기능입니다.

공급자가 공급받는자로부터 요청받은 세금계산서 역발행 건을 거부합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $memo 메모

Return Value

Future

RequestB2bTaxInvoiceResponse requestB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 역발행 요청 기능입니다.

임시저장(REGISTERED) 상태의 역발행 세금계산서를 공급자에게 발행 요청합니다. 요청이 완료되면 (역)발행대기 상태로 전환됩니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

RequestB2bTaxInvoiceResponse

Future requestB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 역발행 요청 기능입니다.

임시저장(REGISTERED) 상태의 역발행 세금계산서를 공급자에게 발행 요청합니다. 요청이 완료되면 (역)발행대기 상태로 전환됩니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

Future

RequestB2bTaxInvoiceReverseIssuanceResponse requestB2bTaxInvoiceReverseIssuance(bool|null $test = null, array|null $taxInvoice = null, string|null $memo = null, array|null $modification = null)

세금계산서 역발행 즉시 요청 기능입니다.

공급자에게 세금계산서 역발행을 즉시 요청합니다. 임시저장 API와 역발행 요청 API 기능을 한 번의 프로세스로 처리합니다.

Parameters

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

array|null $taxInvoice

세금계산서 생성 요청 정보

string|null $memo 메모
array|null $modification

수정 세금계산서 생성 입력 정보

Return Value

RequestB2bTaxInvoiceReverseIssuanceResponse

Future requestB2bTaxInvoiceReverseIssuanceAsync(bool|null $test = null, array|null $taxInvoice = null, string|null $memo = null, array|null $modification = null)

세금계산서 역발행 즉시 요청 기능입니다.

공급자에게 세금계산서 역발행을 즉시 요청합니다. 임시저장 API와 역발행 요청 API 기능을 한 번의 프로세스로 처리합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

array|null $taxInvoice

세금계산서 생성 요청 정보

string|null $memo 메모
array|null $modification

수정 세금계산서 생성 입력 정보

Return Value

Future

SendToNtsB2bTaxInvoiceResponse sendToNtsB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 국세청 즉시 전송 기능입니다.

발행이 완료된 세금계산서를 국세청에 즉시 전송합니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

SendToNtsB2bTaxInvoiceResponse

Future sendToNtsB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)

세금계산서 국세청 즉시 전송 기능입니다.

발행이 완료된 세금계산서를 국세청에 즉시 전송합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $brn 사업자등록번호
string|null $taxInvoiceKeyType

문서 번호 유형: query 파라미터로 전달된 문서번호 유형. 기본 값은 TAX_INVOICE_ID이며 SUPPLIER, RECIPIENT, TAX_INVOICE_ID을 지원합니다.

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

Return Value

Future

UpdateB2bTaxInvoiceDraftResponse updateB2bTaxInvoiceDraft(bool|null $test = null, string|null $brn = null, string|null $taxInvoiceKey = null, string|null $taxInvoiceKeyType = null, array|null $taxInvoice = null, string|null $memo = null)

세금계산서 임시저장 수정 기능입니다.

임시 저장된 세금계산서를 수정합니다.

Parameters

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $brn

사업자등록번호: taxInvoiceKeyType이 TAX_INVOICE_ID가 아닌 경우 필수 값입니다.

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $taxInvoiceKeyType

세금계산서 식별자 유형: 기본 값은 RECIPIENT이며 SUPPLIER, RECIPIENT을 지원합니다.

array|null $taxInvoice

세금계산서 생성 요청 정보

string|null $memo 메모

Return Value

UpdateB2bTaxInvoiceDraftResponse

Future updateB2bTaxInvoiceDraftAsync(bool|null $test = null, string|null $brn = null, string|null $taxInvoiceKey = null, string|null $taxInvoiceKeyType = null, array|null $taxInvoice = null, string|null $memo = null)

세금계산서 임시저장 수정 기능입니다.

임시 저장된 세금계산서를 수정합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.

Parameters

bool|null $test

테스트 모드 여부: true 이면 테스트 모드로 실행되며, false 이거나 주어지지 않은 경우 테스트 모드를 사용하지 않습니다.

string|null $brn

사업자등록번호: taxInvoiceKeyType이 TAX_INVOICE_ID가 아닌 경우 필수 값입니다.

string|null $taxInvoiceKey

세금계산서 문서 번호

string|null $taxInvoiceKeyType

세금계산서 식별자 유형: 기본 값은 RECIPIENT이며 SUPPLIER, RECIPIENT을 지원합니다.

array|null $taxInvoice

세금계산서 생성 요청 정보

string|null $memo 메모

Return Value

Future