TaxInvoiceClient
final class TaxInvoiceClient extends AbstractClient (View source)
B2B 세금계산서 API 작업을 제공합니다.
Properties
| protected RequestExecutor | $executor | from AbstractClient |
Methods
PortOne API Secret과 선택적으로 전달된 공용 요청 실행기로 클라이언트를 초기화합니다.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
세금계산서 파일 첨부 기능입니다.
세금계산서 파일 첨부 기능입니다.
세금계산서 취소 (공급자에 의한 취소) 기능입니다.
세금계산서 취소 (공급자에 의한 취소) 기능입니다.
세금계산서 역발행 요청 취소 (공급받는자에 의한 취소) 기능입니다.
세금계산서 역발행 요청 취소 (공급받는자에 의한 취소) 기능입니다.
파일 업로드 URL 생성 기능입니다.
파일 업로드 URL 생성 기능입니다.
세금계산서 삭제 기능입니다.
세금계산서 삭제 기능입니다.
세금계산서 첨부파일 삭제 기능입니다.
세금계산서 첨부파일 삭제 기능입니다.
세금계산서 엑셀 파일(csv) 다운로드 기능입니다.
세금계산서 엑셀 파일(csv) 다운로드 기능입니다.
세금계산서 임시 저장 기능입니다.
세금계산서 임시 저장 기능입니다.
일괄 세금계산서 조회 기능입니다.
일괄 세금계산서 조회 기능입니다.
세금 계산서 조회 기능입니다.
세금 계산서 조회 기능입니다.
세금계산서 첨부파일 목록 조회 기능입니다.
세금계산서 첨부파일 목록 조회 기능입니다.
세금 계산서 PDF 다운로드 URL 조회 기능입니다.
세금 계산서 PDF 다운로드 URL 조회 기능입니다.
세금 계산서 팝업 URL 조회 기능입니다.
세금 계산서 팝업 URL 조회 기능입니다.
세금 계산서 프린트 URL 조회 기능입니다.
세금 계산서 프린트 URL 조회 기능입니다.
세금 계산서 다건조회 기능입니다.
세금 계산서 다건조회 기능입니다.
세금계산서 발행 승인 기능입니다.
세금계산서 발행 승인 기능입니다.
세금계산서 즉시 정발행 기능입니다.
세금계산서 즉시 정발행 기능입니다.
세금계산서 역발행 요청 거부 기능입니다.
세금계산서 역발행 요청 거부 기능입니다.
세금계산서 역발행 요청 기능입니다.
세금계산서 역발행 요청 기능입니다.
세금계산서 역발행 즉시 요청 기능입니다.
세금계산서 역발행 즉시 요청 기능입니다.
세금계산서 국세청 즉시 전송 기능입니다.
세금계산서 국세청 즉시 전송 기능입니다.
세금계산서 임시저장 수정 기능입니다.
세금계산서 임시저장 수정 기능입니다.
Details
__construct(string $apiSecret, RequestExecutor|null $executor = null)
PortOne API Secret과 선택적으로 전달된 공용 요청 실행기로 클라이언트를 초기화합니다.
array
__debugInfo()
인증 정보가 디버그 출력에 노출되지 않도록 빈 정보를 반환합니다.
array
__serialize()
인증 정보가 직렬화되어 노출되지 않도록 직렬화를 거부합니다.
void
__unserialize(array $data)
인증 정보가 포함된 객체의 역직렬화를 거부합니다.
protected RequestExecutor
createExecutor(string $apiSecret)
No description
protected object
callOperation(string $operation, string $method, string $path, array $parameters, string $responseClass, bool $requestBody)
No description
protected Future
callOperationAsync(string $operation, string $method, string $path, array $parameters, string $responseClass, bool $requestBody)
No description
protected object
callOperationWithQueryAndBody(string $operation, string $method, string $path, array $query, array $body, string $responseClass)
No description
protected Future
callOperationWithQueryAndBodyAsync(string $operation, string $method, string $path, array $query, array $body, string $responseClass)
No description
protected object
callOperationWithQueryRequestBody(string $operation, string $method, string $path, array $query, array $body, string $responseClass)
No description
protected Future
callOperationWithQueryRequestBodyAsync(string $operation, string $method, string $path, array $query, array $body, string $responseClass)
No description
protected string
callStringOperation(string $operation, string $method, string $path, array $options = [])
No description
protected Future
callStringOperationAsync(string $operation, string $method, string $path, array $options = [])
No description
protected string
callStringOperationWithQueryRequestBody(string $operation, string $method, string $path, array $query, array $body)
No description
protected Future
callStringOperationWithQueryRequestBodyAsync(string $operation, string $method, string $path, array $query, array $body)
No description
protected void
callUnitOperation(string $operation, string $method, string $path, array $options = [])
No description
protected Future
callUnitOperationAsync(string $operation, string $method, string $path, array $options = [])
No description
protected void
callUnitOperationWithQueryAndBody(string $operation, string $method, string $path, array $query, array $body)
No description
protected Future
callUnitOperationWithQueryAndBodyAsync(string $operation, string $method, string $path, array $query, array $body)
No description
protected void
callUnitOperationWithQuery(string $operation, string $method, string $path, array $query)
No description
protected Future
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)
세금계산서 파일 첨부 기능입니다.
세금계산서에 파일을 첨부합니다.
Future
attachB2bTaxInvoiceFileAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $fileId = null)
세금계산서 파일 첨부 기능입니다.
세금계산서에 파일을 첨부합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
CancelB2bTaxInvoiceIssuanceResponse
cancelB2bTaxInvoiceIssuance(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)
세금계산서 취소 (공급자에 의한 취소) 기능입니다.
발행 완료된 세금계산서를 공급자가 국세청 전송 전에 취소합니다.
Future
cancelB2bTaxInvoiceIssuanceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)
세금계산서 취소 (공급자에 의한 취소) 기능입니다.
발행 완료된 세금계산서를 공급자가 국세청 전송 전에 취소합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
CancelB2bTaxInvoiceRequestResponse
cancelB2bTaxInvoiceRequest(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)
세금계산서 역발행 요청 취소 (공급받는자에 의한 취소) 기능입니다.
공급자가 세금계산서 발행을 승인하기 전에 공급받는자가 해당 역발행 요청을 취소합니다.
Future
cancelB2bTaxInvoiceRequestAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)
세금계산서 역발행 요청 취소 (공급받는자에 의한 취소) 기능입니다.
공급자가 세금계산서 발행을 승인하기 전에 공급받는자가 해당 역발행 요청을 취소합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
CreateB2bFileUploadUrlPayload
createB2bFileUploadUrl(bool|null $test = null, string|null $fileName = null)
파일 업로드 URL 생성 기능입니다.
S3 파일 업로드를 위한 URL을 생성합니다.
Future
createB2bFileUploadUrlAsync(bool|null $test = null, string|null $fileName = null)
파일 업로드 URL 생성 기능입니다.
S3 파일 업로드를 위한 URL을 생성합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
DeleteB2bTaxInvoiceResponse
deleteB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금계산서 삭제 기능입니다.
세금계산서를 삭제합니다.
Future
deleteB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금계산서 삭제 기능입니다.
세금계산서를 삭제합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
void
deleteB2bTaxInvoiceAttachment(string|null $taxInvoiceKey = null, string|null $attachmentId = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금계산서 첨부파일 삭제 기능입니다.
세금계산서 첨부파일을 삭제합니다.
Future
deleteB2bTaxInvoiceAttachmentAsync(string|null $taxInvoiceKey = null, string|null $attachmentId = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금계산서 첨부파일 삭제 기능입니다.
세금계산서 첨부파일을 삭제합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
string
downloadB2bTaxInvoicesSheet(array|null $filter = null, array|null $fields = null, bool|null $test = null, array|null $sort = null)
세금계산서 엑셀 파일(csv) 다운로드 기능입니다.
세금계산서를 엑셀 파일(csv)로 다운로드합니다.
Future
downloadB2bTaxInvoicesSheetAsync(array|null $filter = null, array|null $fields = null, bool|null $test = null, array|null $sort = null)
세금계산서 엑셀 파일(csv) 다운로드 기능입니다.
세금계산서를 엑셀 파일(csv)로 다운로드합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
DraftB2bTaxInvoiceResponse
draftB2bTaxInvoice(bool|null $test = null, array|null $taxInvoice = null, array|null $modification = null, string|null $memo = null, bool|null $createRecipientCounterparty = null)
세금계산서 임시 저장 기능입니다.
세금계산서 임시 저장을 요청합니다.
Future
draftB2bTaxInvoiceAsync(bool|null $test = null, array|null $taxInvoice = null, array|null $modification = null, string|null $memo = null, bool|null $createRecipientCounterparty = null)
세금계산서 임시 저장 기능입니다.
세금계산서 임시 저장을 요청합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
B2bBulkTaxInvoice
getB2bBulkTaxInvoice(string|null $bulkTaxInvoiceId = null, bool|null $test = null)
일괄 세금계산서 조회 기능입니다.
등록된 일괄 세금계산서를 일괄 세금계산서 아이디로 조회합니다.
Future
getB2bBulkTaxInvoiceAsync(string|null $bulkTaxInvoiceId = null, bool|null $test = null)
일괄 세금계산서 조회 기능입니다.
등록된 일괄 세금계산서를 일괄 세금계산서 아이디로 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
B2bTaxInvoice
getB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금 계산서 조회 기능입니다.
등록된 세금 계산서를 세금계산서 아이디로 조회합니다.
Future
getB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금 계산서 조회 기능입니다.
등록된 세금 계산서를 세금계산서 아이디로 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
GetB2bTaxInvoiceAttachmentsResponse
getB2bTaxInvoiceAttachments(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금계산서 첨부파일 목록 조회 기능입니다.
세금계산서에 첨부된 파일 목록을 조회합니다.
Future
getB2bTaxInvoiceAttachmentsAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금계산서 첨부파일 목록 조회 기능입니다.
세금계산서에 첨부된 파일 목록을 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
GetB2bTaxInvoicePdfDownloadUrlResponse
getB2bTaxInvoicePdfDownloadUrl(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금 계산서 PDF 다운로드 URL 조회 기능입니다.
등록된 세금 계산서 PDF 다운로드 URL을 공급자 혹은 공급받는자 문서번호로 조회합니다.
Future
getB2bTaxInvoicePdfDownloadUrlAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금 계산서 PDF 다운로드 URL 조회 기능입니다.
등록된 세금 계산서 PDF 다운로드 URL을 공급자 혹은 공급받는자 문서번호로 조회합니다. 비동기 요청을 시작하며, 반환된 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을 공급자 혹은 공급받는자 문서번호로 조회합니다.
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에서 결과를 기다릴 수 있습니다.
GetB2bTaxInvoicePrintUrlResponse
getB2bTaxInvoicePrintUrl(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금 계산서 프린트 URL 조회 기능입니다.
등록된 세금 계산서 프린트 URL을 공급자 혹은 공급받는자 문서번호로 조회합니다.
Future
getB2bTaxInvoicePrintUrlAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금 계산서 프린트 URL 조회 기능입니다.
등록된 세금 계산서 프린트 URL을 공급자 혹은 공급받는자 문서번호로 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
GetB2bTaxInvoicesResponse
getB2bTaxInvoices(bool|null $test = null, int|null $pageNumber = null, int|null $pageSize = null, array|null $filter = null, array|null $sort = null)
세금 계산서 다건조회 기능입니다.
조회 기간 내 등록된 세금 계산서를 다건 조회합니다.
Future
getB2bTaxInvoicesAsync(bool|null $test = null, int|null $pageNumber = null, int|null $pageSize = null, array|null $filter = null, array|null $sort = null)
세금 계산서 다건조회 기능입니다.
조회 기간 내 등록된 세금 계산서를 다건 조회합니다. 비동기 요청을 시작하며, 반환된 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) 상태의 세금계산서에 대해 발행을 승인합니다.
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에서 결과를 기다릴 수 있습니다.
IssueB2bTaxInvoiceImmediatelyResponse
issueB2bTaxInvoiceImmediately(bool|null $test = null, array|null $taxInvoice = null, string|null $memo = null, array|null $modification = null, bool|null $createRecipientCounterparty = null)
세금계산서 즉시 정발행 기능입니다.
세금계산서를 즉시 정발행합니다. 임시저장 API와 정발행 API 기능을 한 번의 프로세스로 처리합니다.
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에서 결과를 기다릴 수 있습니다.
RefuseB2bTaxInvoiceRequestResponse
refuseB2bTaxInvoiceRequest(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)
세금계산서 역발행 요청 거부 기능입니다.
공급자가 공급받는자로부터 요청받은 세금계산서 역발행 건을 거부합니다.
Future
refuseB2bTaxInvoiceRequestAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null, string|null $memo = null)
세금계산서 역발행 요청 거부 기능입니다.
공급자가 공급받는자로부터 요청받은 세금계산서 역발행 건을 거부합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
RequestB2bTaxInvoiceResponse
requestB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금계산서 역발행 요청 기능입니다.
임시저장(REGISTERED) 상태의 역발행 세금계산서를 공급자에게 발행 요청합니다. 요청이 완료되면 (역)발행대기 상태로 전환됩니다.
Future
requestB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금계산서 역발행 요청 기능입니다.
임시저장(REGISTERED) 상태의 역발행 세금계산서를 공급자에게 발행 요청합니다. 요청이 완료되면 (역)발행대기 상태로 전환됩니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
RequestB2bTaxInvoiceReverseIssuanceResponse
requestB2bTaxInvoiceReverseIssuance(bool|null $test = null, array|null $taxInvoice = null, string|null $memo = null, array|null $modification = null)
세금계산서 역발행 즉시 요청 기능입니다.
공급자에게 세금계산서 역발행을 즉시 요청합니다. 임시저장 API와 역발행 요청 API 기능을 한 번의 프로세스로 처리합니다.
Future
requestB2bTaxInvoiceReverseIssuanceAsync(bool|null $test = null, array|null $taxInvoice = null, string|null $memo = null, array|null $modification = null)
세금계산서 역발행 즉시 요청 기능입니다.
공급자에게 세금계산서 역발행을 즉시 요청합니다. 임시저장 API와 역발행 요청 API 기능을 한 번의 프로세스로 처리합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
SendToNtsB2bTaxInvoiceResponse
sendToNtsB2bTaxInvoice(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금계산서 국세청 즉시 전송 기능입니다.
발행이 완료된 세금계산서를 국세청에 즉시 전송합니다.
Future
sendToNtsB2bTaxInvoiceAsync(string|null $taxInvoiceKey = null, string|null $brn = null, string|null $taxInvoiceKeyType = null, bool|null $test = null)
세금계산서 국세청 즉시 전송 기능입니다.
발행이 완료된 세금계산서를 국세청에 즉시 전송합니다. 비동기 요청을 시작하며, 반환된 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)
세금계산서 임시저장 수정 기능입니다.
임시 저장된 세금계산서를 수정합니다.
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에서 결과를 기다릴 수 있습니다.